package com.qf.android.huihui.bean.domestic;

import android.content.Context;
import android.content.Intent;

import com.qf.android.huihui.view.activity.WebviewActivity;

import java.util.List;

public class EveryBuyEntity {



    private String tips;

    //guoneitem
    private List<ListBeanX> list;

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public List<ListBeanX> getList() {
        return list;
    }

    public void setList(List<ListBeanX> list) {
        this.list = list;
    }

    public static class ListBeanX {


        private String type;
        private GuoneiItemBean GuoneiItem;
        private HotSearchBean HotSearch;
        private HuiItemBean HuiItem;
        private HistoryLineBean HistoryLine;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public GuoneiItemBean getGuoneiItem() {
            return GuoneiItem;
        }

        public void setGuoneiItem(GuoneiItemBean GuoneiItem) {
            this.GuoneiItem = GuoneiItem;
        }

        public HotSearchBean getHotSearch() {
            return HotSearch;
        }

        public void setHotSearch(HotSearchBean HotSearch) {
            this.HotSearch = HotSearch;
        }

        public HuiItemBean getHuiItem() {
            return HuiItem;
        }

        public void setHuiItem(HuiItemBean HuiItem) {
            this.HuiItem = HuiItem;
        }

        public HistoryLineBean getHistoryLine() {
            return HistoryLine;
        }

        public void setHistoryLine(HistoryLineBean HistoryLine) {
            this.HistoryLine = HistoryLine;
        }

        public static class GuoneiItemBean {


            private String type;
            private String title;
            private String subTitle;
            private String summary;
            private int id;
            private String url;
            private String imageUrl;
            private long showTime;
            private int pubTime;
            private String features;
            private String price;
            private String groupName;
            private String groupImage;
            private String groupToUrl;
            private String priceTip;
            private int salesCount;
            private boolean isB2C;
            private MerchantBean merchant;


            public void guonei(Context context){
                Intent intent=new Intent(context, WebviewActivity.class);
                intent.putExtra("url",url);
                context.startActivity(intent);

            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubTitle() {
                return subTitle;
            }

            public void setSubTitle(String subTitle) {
                this.subTitle = subTitle;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public long getShowTime() {
                return showTime;
            }

            public void setShowTime(long showTime) {
                this.showTime = showTime;
            }

            public int getPubTime() {
                return pubTime;
            }

            public void setPubTime(int pubTime) {
                this.pubTime = pubTime;
            }

            public String getFeatures() {
                return features;
            }

            public void setFeatures(String features) {
                this.features = features;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getGroupName() {
                return groupName;
            }

            public void setGroupName(String groupName) {
                this.groupName = groupName;
            }

            public String getGroupImage() {
                return groupImage;
            }

            public void setGroupImage(String groupImage) {
                this.groupImage = groupImage;
            }

            public String getGroupToUrl() {
                return groupToUrl;
            }

            public void setGroupToUrl(String groupToUrl) {
                this.groupToUrl = groupToUrl;
            }

            public String getPriceTip() {
                return priceTip;
            }

            public void setPriceTip(String priceTip) {
                this.priceTip = priceTip;
            }

            public int getSalesCount() {
                return salesCount;
            }

            public void setSalesCount(int salesCount) {
                this.salesCount = salesCount;
            }

            public boolean isIsB2C() {
                return isB2C;
            }

            public void setIsB2C(boolean isB2C) {
                this.isB2C = isB2C;
            }

            public MerchantBean getMerchant() {
                return merchant;
            }

            public void setMerchant(MerchantBean merchant) {
                this.merchant = merchant;
            }

            public static class MerchantBean {
                /**
                 * domain : taobao.com
                 * name : 淘宝网
                 * logo : http://gi0.ydstatic.com/image?id=7155831662271422549&product=gouwu
                 */

                private String domain;
                private String name;
                private String logo;

                public String getDomain() {
                    return domain;
                }

                public void setDomain(String domain) {
                    this.domain = domain;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }
            }
        }

        public static class HotSearchBean {


            private long showTime;
            private List<ListBean> list;

            public long getShowTime() {
                return showTime;
            }

            public void setShowTime(long showTime) {
                this.showTime = showTime;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public static class ListBean {
                /**
                 * word : muji
                 */

                private String word;

                public String getWord() {
                    return word;
                }

                public void setWord(String word) {
                    this.word = word;
                }
            }
        }

        public static class HuiItemBean {
            /**
             * type : HuiItem
             * title : 全国多地-泰国7-10天自由行 往返含税机票+酒店住宿
             * subTitle : 2999元起
             * summary : 穷游网现推出北京/上海/广州/香港出发-泰国曼谷+甲米/普吉/苏梅+清迈7-10天自由行，费用包含往返含税机票+泰国内陆机票+全程酒店住宿+happy电话卡一张（可享7天免费Wi-Fi）。

             1-3月多班期出发，低价集中在2月底-3月，其中香港出发最低可享2999元/人。含有春节寒假班期，但价格较高，香港出发1月28为9999元/人
             * id : 39204978
             * url : http://www.huihui.cn/deals/39204978?keyfrom=AppHuiItem
             * imageUrl : http://oimageb6.ydstatic.com/image?id=5368075951912058452&product=gouwu&w=720&h=720&quality=70
             * showTime : 1484185377679
             * pubTime : 1484184774000
             * features : {"features":"","type":"HuiItem","id":39204978,"url":"http://www.huihui.cn/deals/39204978"}
             * price : ￥2999
             * tagUrl : http://shared.ydstatic.com/gouwuex/app/editor_tag/1.0/xiao_bian_jing_xuan.png
             * merchant : {"domain":"qyer.com","name":"穷游网","logo":"http://oimagec3.ydstatic.com/image?id=-4800257255511828782&product=gouwu"}
             * commentsCount : 0
             * groupName : 小编精选
             * groupImage : http://shared.ydstatic.com/gouwuex/app/group_tag/icon_index_xbjx@2x.png
             * groupJsonUrl : https://app.huihui.cn/app/list/HuiIteminland
             */

            private String type;
            private String title;
            private String subTitle;
            private String summary;
            private int id;
            private String url;
            private String imageUrl;
            private long showTime;
            private long pubTime;
            private String features;
            private String price;
            private String tagUrl;
            private MerchantBeanX merchant;
            private int commentsCount;
            private String groupName;
            private String groupImage;
            private String groupJsonUrl;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubTitle() {
                return subTitle;
            }

            public void setSubTitle(String subTitle) {
                this.subTitle = subTitle;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public long getShowTime() {
                return showTime;
            }

            public void setShowTime(long showTime) {
                this.showTime = showTime;
            }

            public long getPubTime() {
                return pubTime;
            }

            public void setPubTime(long pubTime) {
                this.pubTime = pubTime;
            }

            public String getFeatures() {
                return features;
            }

            public void setFeatures(String features) {
                this.features = features;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getTagUrl() {
                return tagUrl;
            }

            public void setTagUrl(String tagUrl) {
                this.tagUrl = tagUrl;
            }

            public MerchantBeanX getMerchant() {
                return merchant;
            }

            public void setMerchant(MerchantBeanX merchant) {
                this.merchant = merchant;
            }

            public int getCommentsCount() {
                return commentsCount;
            }

            public void setCommentsCount(int commentsCount) {
                this.commentsCount = commentsCount;
            }

            public String getGroupName() {
                return groupName;
            }

            public void setGroupName(String groupName) {
                this.groupName = groupName;
            }

            public String getGroupImage() {
                return groupImage;
            }

            public void setGroupImage(String groupImage) {
                this.groupImage = groupImage;
            }

            public String getGroupJsonUrl() {
                return groupJsonUrl;
            }

            public void setGroupJsonUrl(String groupJsonUrl) {
                this.groupJsonUrl = groupJsonUrl;
            }

            public static class MerchantBeanX {
                /**
                 * domain : qyer.com
                 * name : 穷游网
                 * logo : http://oimagec3.ydstatic.com/image?id=-4800257255511828782&product=gouwu
                 */

                private String domain;
                private String name;
                private String logo;

                public String getDomain() {
                    return domain;
                }

                public void setDomain(String domain) {
                    this.domain = domain;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }
            }
        }

        public static class HistoryLineBean {
            /**
             * showTime : 1484185377666
             */

            private long showTime;

            public long getShowTime() {
                return showTime;
            }

            public void setShowTime(long showTime) {
                this.showTime = showTime;
            }
        }
    }

//
//
//    private String tips;
//    private List<ListBeanXX> list;
//
//    public String getTips() {
//        return tips;
//    }
//
//    public void setTips(String tips) {
//        this.tips = tips;
//    }
//
//    public List<ListBeanXX> getList() {
//        return list;
//    }
//
//    public void setList(List<ListBeanXX> list) {
//        this.list = list;
//    }
//
//    public static class ListBeanXX {
//
//
//        private String type;
//        private GuoneiItemBean GuoneiItem;
//
//        public String getType() {
//            return type;
//        }
//
//        public void setType(String type) {
//            this.type = type;
//        }
//
//        public GuoneiItemBean getGuoneiItem() {
//            return GuoneiItem;
//        }
//
//        public void setGuoneiItem(GuoneiItemBean guoneiItem) {
//            GuoneiItem = guoneiItem;
//        }
//
//        public static class GuoneiItemBean {
//
//
//            private String type;
//            private String title;
//            private String subTitle;
//            private String summary;
//            private int id;
//            private String url;
//            private String imageUrl;
//            private long showTime;
//            private int pubTime;
//            private String features;
//            private String price;
//            private String groupName;
//            private String groupImage;
//            private String groupToUrl;
//            private String priceTip;
//            private int salesCount;
//            private String tag;
//            private boolean isB2C;
//            private MerchantBean merchant;
//
//            public String getType() {
//                return type;
//            }
//
//            public void setType(String type) {
//                this.type = type;
//            }
//
//            public String getTitle() {
//                return title;
//            }
//
//            public void setTitle(String title) {
//                this.title = title;
//            }
//
//            public String getSubTitle() {
//                return subTitle;
//            }
//
//            public void setSubTitle(String subTitle) {
//                this.subTitle = subTitle;
//            }
//
//            public String getSummary() {
//                return summary;
//            }
//
//            public void setSummary(String summary) {
//                this.summary = summary;
//            }
//
//            public int getId() {
//                return id;
//            }
//
//            public void setId(int id) {
//                this.id = id;
//            }
//
//            public String getUrl() {
//                return url;
//            }
//
//            public void setUrl(String url) {
//                this.url = url;
//            }
//
//            public String getImageUrl() {
//                return imageUrl;
//            }
//
//            public void setImageUrl(String imageUrl) {
//                this.imageUrl = imageUrl;
//            }
//
//            public long getShowTime() {
//                return showTime;
//            }
//
//            public void setShowTime(long showTime) {
//                this.showTime = showTime;
//            }
//
//            public int getPubTime() {
//                return pubTime;
//            }
//
//            public void setPubTime(int pubTime) {
//                this.pubTime = pubTime;
//            }
//
//            public String getFeatures() {
//                return features;
//            }
//
//            public void setFeatures(String features) {
//                this.features = features;
//            }
//
//            public String getPrice() {
//                return price;
//            }
//
//            public void setPrice(String price) {
//                this.price = price;
//            }
//
//            public String getGroupName() {
//                return groupName;
//            }
//
//            public void setGroupName(String groupName) {
//                this.groupName = groupName;
//            }
//
//            public String getGroupImage() {
//                return groupImage;
//            }
//
//            public void setGroupImage(String groupImage) {
//                this.groupImage = groupImage;
//            }
//
//            public String getGroupToUrl() {
//                return groupToUrl;
//            }
//
//            public void setGroupToUrl(String groupToUrl) {
//                this.groupToUrl = groupToUrl;
//            }
//
//            public String getPriceTip() {
//                return priceTip;
//            }
//
//            public void setPriceTip(String priceTip) {
//                this.priceTip = priceTip;
//            }
//
//            public int getSalesCount() {
//                return salesCount;
//            }
//
//            public void setSalesCount(int salesCount) {
//                this.salesCount = salesCount;
//            }
//
//            public String getTag() {
//                return tag;
//            }
//
//            public void setTag(String tag) {
//                this.tag = tag;
//            }
//
//            public boolean isIsB2C() {
//                return isB2C;
//            }
//
//            public void setIsB2C(boolean isB2C) {
//                this.isB2C = isB2C;
//            }
//
//            public MerchantBean getMerchant() {
//                return merchant;
//            }
//
//            public void setMerchant(MerchantBean merchant) {
//                this.merchant = merchant;
//            }
//
//            public static class MerchantBean {
//                /**
//                 * domain : 360buy.com
//                 * name : 京东商城
//                 * logo : http://oimagea1.ydstatic.com/image?id=-632558384427263969&product=gouwu
//                 */
//
//                private String domain;
//                private String name;
//                private String logo;
//
//                public String getDomain() {
//                    return domain;
//                }
//
//                public void setDomain(String domain) {
//                    this.domain = domain;
//                }
//
//                public String getName() {
//                    return name;
//                }
//
//                public void setName(String name) {
//                    this.name = name;
//                }
//
//                public String getLogo() {
//                    return logo;
//                }
//
//                public void setLogo(String logo) {
//                    this.logo = logo;
//                }
//
//
//            }}}

}
